package client04;

/**
 * @author chengshuai
 * @date 2021/3/21 20:25
 */
public class FInt {

    public int value;

    public FInt(int value) {
        this.value = value;
    }

    public static void change(FInt fInt) {
        System.out.println(fInt.value);
        fInt.value = 11;
        System.out.println(fInt.value);
    }

    public static void main(String[] args) {
        FInt fInt = new FInt(10);
        change(fInt);
        System.out.println(fInt.value);
    }
}
